public class Rectangle {
    public int width;
    int height;

     Rectangle(){
this.height=1;this.width=1;
     }
   public Rectangle(int val){
       this.height=val;this.width=val;
    }
   public Rectangle(int width,int height){
         this.height=height;this.width=width;
   }
    int getSquare(){
        return this.height*this.width;
    }
    int getPerimeter(){
         return 2*(this.height+this.width);
    }
}
